package com.xiaoxiang.text.result;


import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author: haha
 * @date: 2022/5/1 23:00
 */
@Data
public class CommentResult {

    private Long id;

    private UserResult user;

    private String content;

    private Date createTime;

    /**
     * 是否为根评论
     */
    private boolean isRoot;

    private List<CommentResult>  childCommentList;


}
